package ${packageName};

<#if importClassName??>
<#list importClassName as name>
import ${name};
</#list>
</#if>
import java.io.Serializable;
import java.math.BigDecimal;
import java.util.List;
import java.util.Map;
import java.util.Date;
import lombok.Data;
import io.swagger.annotations.ApiModelProperty;
import io.swagger.annotations.ApiModel;
<#if desc??>
/**
* ${desc}
*  @author xiaoyun461
*  ${.now?string('yyyy-MM-dd')}
*/
<#else >
/**
*  @author xiaoyun461
*  ${.now?string('yyyy-MM-dd')}
*/
</#if>
@Data
@ApiModel
public class ${className}  implements Serializable {

    <#list fields as fieldBean>

        <#if fieldBean.fieldDesc?? || fieldBean.required??>
        /**
        *  <#if fieldBean.fieldDesc??>${fieldBean.fieldDesc}</#if>
        */
        @ApiModelProperty(<#if fieldBean.fieldDesc??>value = "${fieldBean.fieldDesc}"<#else>value = "${fieldBean.fieldName}"</#if><#if fieldBean.required??>, required = true</#if>)
        </#if>
        private <#if fieldBean.fieldAttr??>${fieldBean.fieldAttr}<#else>String</#if> ${fieldBean.fieldName};

    </#list>
}
